﻿<Window x:Class="WpfTestApp.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
    <StackPanel>
        <Grid x:Name="LayoutRoot" Width="200" Height="60">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="50" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>

            <TextBox x:Name="tbxUserName" Grid.Column="0" Grid.Row="0" Margin="2" />
            <PasswordBox x:Name="tbxPassword" Grid.Column="0" Grid.Row="1" Margin="2" />
            <Button Grid.Column="1" Grid.RowSpan="2" Margin="2" Click="Button_Click"/>

        </Grid>
        <TextBlock x:Name="tbkLog" Height="160" Margin="100,0,100,0" TextWrapping="Wrap"/>
    </StackPanel>
</Window>
